/*
 * @Description:
 * @Author: william
 * @Date: 2025-04-22 13:54:10
 * @LastEditors: william
 * @LastEditTime: 2025-04-22 15:01:02
 */
const prefix = '/ticket/order'

// =====================  订票管理 =====================
// -------------------  查询订单列表 -------------------
export const apiOrderList = data => g_https.post(`${prefix}/list`, data)

// -------------------  查询订单详情 -------------------
export const apiOrderDetail = data =>
  g_https.post(`${prefix}/detail`, {}, {}, data)

// -------------------  新增订单 -------------------
export const apiOrderCreate = data => g_https.post(`${prefix}/create`, data)

// -------------------  修改订单 -------------------
export const apiOrderUpdate = data => g_https.post(`${prefix}/update`, data)

// -------------------  删除订单 -------------------
export const apiOrderDelete = data => g_https.post(`${prefix}/delete`, data)

// -------------------  确认订单 -------------------
export const apiOrderConfirm = data => g_https.post(`${prefix}/confirm`, data)

// -------------------  取消订单 -------------------
export const apiOrderCancel = data => g_https.post(`${prefix}/cancel`, data)
